package com.gxgy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * @description: 角色表
 * @author: 邓 忠柠
 * @date: 2021-11-11
 */
@TableName("role")
public class Role {
	
	//角色表编号
	public final static String ID = "id";
	@TableId
	private String id;
	
	//角色名称
	public final static String ROLE_NAME = "role_name";
	@TableField("role_name")
	private String roleName;
	
	//创建时间
	public final static String CREATE_TIME = "create_time";
	@TableField("create_time")
	private String createTime;
	
	
	public Role() {
		super();
	}
	public Role(String id, String roleName, String createTime) {
		super();
		this.id = id;
		this.roleName = roleName;
		this.createTime = createTime;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	@Override
	public String toString() {
		return "Role [id=" + id + ", roleName=" + roleName + ", createTime=" + createTime + "]";
	} 
	
	

}
